#!/usr/bin/env python3
# -*- encoding: utf-8 -*-
'''
@author: yuejl
@application:
@contact: lewyuejian@163.com
@file: exceptions.py
@time: 2021/3/20 0020 22:59
@desc:
'''
class BaseFailure(Exception):
    pass

class BaseError(Exception):
    pass

class FileFormatError(BaseError):
    pass

class NotFoundError(BaseError):
    pass

# 入参错误
class ParticipateError(BaseError):
    pass

class FileNotFound(FileNotFoundError, NotFoundError):
    pass

# 参数错误
class ParamsError(FileFormatError):
    pass

# 测试用例格式异常
class TestCaseFormatError(FileFormatError):
    pass

# 请求数据无效
class TestRequestDataFormatError(ParamsError):
    pass

class VariableNotFound(NotFoundError):
    pass

class VariableFormatError(VariableNotFound):
    pass